Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mrc-6151 get script and css from base url #238

Merged
merged 2 commits into from
Jan 8, 2025

Conversation

EmmaLRussell
Copy link
Contributor

@EmmaLRussell EmmaLRussell commented Jan 8, 2025

Deploy to epimodels with latest wodin main image is resulting in apps not rendering, because they are trying to fetch wodin.js and wodin.css from "/" rather than relative to baseUrl. This branch fixes this issue and is deployed to wodin-dev e.g. https://wodin-dev.dide.ic.ac.uk/msc-idm-2022/apps/heterogeneity-1

There's another issue, which is that a lot of the site index.html files are trying to use bootstrap.css from their site base url, which is not being found, resulting in unstyled pages e.g. https://wodin-dev.dide.ic.ac.uk/msc-idm-2022/ . I forget what we'd agreed to do there - did we say that sites ought to just use bootstrap themselves? Given that we'd like to redeploy this soon for the Royal Society app, and that we never got round to updating all the sites individually, we could just make bootstrap.css available again in the wodin container (temporarily...?) What do you think?

Copy link

codecov bot commented Jan 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.77%. Comparing base (eef2b4f) to head (5380f0f).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #238   +/-   ##
=======================================
  Coverage   99.77%   99.77%           
=======================================
  Files         183      183           
  Lines        4463     4463           
  Branches      990      988    -2     
=======================================
  Hits         4453     4453           
  Misses          9        9           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@EmmaLRussell EmmaLRussell marked this pull request as ready for review January 8, 2025 13:50
@EmmaLRussell EmmaLRussell merged commit 11fd2c0 into main Jan 8, 2025
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants